import { data } from 'uview-ui/libs/mixin/mixin.js'
import request from '../utils/request.js'

// 登录
export const reqLogin = (data) => {
	return request.post('/api/login', data)
}

// 注册
export const reqRegister = (data) => {
	return request.post('/api/register', data)
}